June 2021: “Top 40” New CRAN Packages {https://t.co/vfApIFm7HI} #rstats #DataScience
— R-bloggers (@Rbloggers) July 27, 2021
ggforce: Make a Hull Plot to Visualize Clusters in ggplot2 {https://t.co/K4EfQe86CG} #rstats #DataScience
— R-bloggers (@Rbloggers) July 27, 2021
How to Measure Heteroscedasticity in Regression? {https://t.co/axs3DwkCYT} #rstats #DataScience
— R-bloggers (@Rbloggers) July 28, 2021
How to Calculate Root Mean Square Error (RMSE) in R {https://t.co/zWeiNf4ZvZ} #rstats #DataScience
— R-bloggers (@Rbloggers) July 23, 2021
Shiny Video Game: How to Build An Award Winning App in R {https://t.co/6tSIxLAP4z} #rstats #DataScience
— R-bloggers (@Rbloggers) July 29, 2021
Hosting Shiny Apps with Shiny Server {https://t.co/CTsctkv6ll} #rstats #DataScience
— R-bloggers (@Rbloggers) July 23, 2021
`crossvalidation` on R-universe, plus a classification example {https://t.co/ji9G99DmhB} #rstats #DataScience
— R-bloggers (@Rbloggers) July 24, 2021
Enterprise Shiny Apps from Concept to Production: Appsilon & RStudio X-Session {https://t.co/QLdijmyEZM} #rstats #DataScience
— R-bloggers (@Rbloggers) July 25, 2021
Your R launch checklist {https://t.co/SUGqLGysRT} #rstats #DataScience
— R-bloggers (@Rbloggers) July 26, 2021
The myth of the R learning curve {https://t.co/JifzibIWpk} #rstats #DataScience
— R-bloggers (@Rbloggers) July 26, 2021
RDCOMClient : read and write Excel, and call VBA macro in R {https://t.co/TOgfNsLVO3} #rstats #DataScience
— R-bloggers (@Rbloggers) July 29, 2021
The Hitchhiker’s Guide to Responsible Machine Learning {https://t.co/4ZTgQWqiEf} #rstats #DataScience
— R-bloggers (@Rbloggers) July 23, 2021
How I resurrected my ancient PhD thesis using R/bookdown (and some other tools) {https://t.co/9D3MDXauay} #rstats #DataScience
— R-bloggers (@Rbloggers) July 23, 2021
R is for Research, Python is for Production {https://t.co/NVCRQnvTjW} #rstats #DataScience
— R-bloggers (@Rbloggers) July 12, 2021
simplevis: interactive plots with plotly::ggplotly {https://t.co/9hFwIuT508} #rstats #DataScience
— R-bloggers (@Rbloggers) July 4, 2021
Spatially weighted averages in R with sf {https://t.co/X7ZS1iOQkj} #rstats #DataScience
— R-bloggers (@Rbloggers) July 1, 2021
How to organize your analyses with R Studio Projects {https://t.co/yKvlwGSOYa} #rstats #DataScience
— R-bloggers (@Rbloggers) July 21, 2021
FeatureTerminatoR – a package to remove unimportant variables from statistical and machine l {https://t.co/bD8tbLZmUZ} #rstats #DataScience
— R-bloggers (@Rbloggers) July 15, 2021
Soccer Analytics for Beginners: An R Tutorial on EURO 2020 Data – Web Scraping & Radar Plots {https://t.co/wk5XdvxfWU} #rstats #DataScience
— R-bloggers (@Rbloggers) July 20, 2021
10 Tips and Tricks for Data Scientists Vol.10 {https://t.co/aNt6BptYAp} #rstats #DataScience
— R-bloggers (@Rbloggers) July 4, 2021
ggdist: Make a Raincloud Plot to Visualize Distribution in ggplot2 {https://t.co/Buy86bYiwS} #rstats #DataScience
— R-bloggers (@Rbloggers) July 22, 2021
ggplot: plot only some of the data {https://t.co/f2OoQUGd0k} #rstats #DataScience
— R-bloggers (@Rbloggers) July 12, 2021
How to perform ANCOVA in R {https://t.co/J4GIrRDJbG} #rstats #DataScience
— R-bloggers (@Rbloggers) July 22, 2021
How to Create a Covariance Matrix in R {https://t.co/AXUGktYu07} #rstats #DataScience
— R-bloggers (@Rbloggers) July 11, 2021
Exploratory Functional PCA with Sparse Data {https://t.co/49KGdNmyKI} #rstats #DataScience
— R-bloggers (@Rbloggers) July 8, 2021
---
title: "RBloggers Top Tweets"
output:
flexdashboard::flex_dashboard:
vertical_layout: scroll
source_code: embed
theme:
version: 4
bootswatch: yeti
css: styles/main.css
---
```{r setup, include=FALSE}
library(flexdashboard)
library(dplyr)
library(httr)
library(lubridate)
library(jsonlite)
library(purrr)
rbloggers <- fromJSON("data/rbloggers.json")
get_tweet_embed <- function(user, status_id) {
url <-
stringr::str_glue(
"https://publish.twitter.com/oembed?url=https://twitter.com/{user}/status/{status_id}&partner=&hide_thread=false"
)
response <- GET(url) %>%
content()
return(shiny::HTML(response$html))
}
```
Column {.tabset .tabset-fade}
-----------------------------------------------------------------------
### Top Tweets - 7 days {.tweet-wall}
```{r}
rblog_7 <- rbloggers %>%
mutate(created_at = as_date(created_at)) %>%
filter(created_at %within% interval(start = today() - 7, end = today())) %>%
slice_max(favorite_count + retweet_count, n = 12)
rblog_7_html <-
map2_chr(rblog_7$screen_name, rblog_7$status_id, get_tweet_embed)
shiny::HTML(stringr::str_glue("{rblog_7_html}"))
```
### Top Tweets - 30 days {.tweet-wall}
```{r}
rblog_30 <- rbloggers %>%
mutate(created_at = as_date(created_at)) %>%
filter(created_at %within% interval(start = today() - 30, end = today())) %>%
slice_max(favorite_count + retweet_count, n = 12)
rblog_30_html <-
map2_chr(rblog_30$screen_name, rblog_30$status_id, get_tweet_embed)
shiny::HTML(stringr::str_glue("{rblog_30_html}"))
```